P+ - Donkey Kong - Action - 0x130
Entry Script
- if ((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24000 }), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 64 })] }
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 64 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- IntVariableSet { variable: LongtermAccessInt(Temp1), value: 0 }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(Unknown(2))
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubactionRestartFrame(SpecialN_1)
- else
- ChangeSubactionRestartFrame(SpecialN)
- else
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubaction(SpecialN_1)
- else
- ChangeSubaction(SpecialN)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x8, code: 0x1, unk1: 0x0, arguments: [Value(4)] }
- SetAirGround(10)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubactionRestartFrame(SpecialAirN_1)
- else
- ChangeSubactionRestartFrame(SpecialAirN)
- else
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubaction(SpecialAirN_1)
- else
- ChangeSubaction(SpecialAirN)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
Exit Script